<?php

namespace app\customer\controller;
use app\common\controller\PCBase;
use app\customer\logic\MessageLogic;
use  think\App;
class Message extends PCBase
{

    /**
     * @desc   获取发送消息配置列表接口
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function messageList(){
        $params     = $this->request->post();
        return  (new MessageLogic())->messageList($params);
    }

    /**
     * @desc   获取发送消息配置编辑
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function edit(){
        $params     = $this->request->post();
        return  (new MessageLogic())->edit($params);
    }


    /**
     * @desc   获取发送消息执行接口
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function messageSync(){
        $params     = $this->request->post();
        $params['operate_id'] = $this->getAdminId();
        return  (new MessageLogic())->messageSync($params);
    }

    /**
     * @desc   发送消息执行日志接口
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function messageLog(){
        $params     = $this->request->post();
        return  (new MessageLogic())->messageLog($params);
    }

    /**
     * @desc   获取操作店铺的列表
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function shopList(){
        $params     = $this->request->post();
        return  (new MessageLogic())->shopList($params);
    }











}